<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>多关键字检索</title>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.3"></script>
</head>
<body>
<div style="width:520px;height:340px;border:1px solid gray" id="container"></div>
<div id="results" style="font-size:13px;margin-top:10px;"></div>
</body>
</html>
<script type="text/javascript">
var map = new BMap.Map("container");
map.centerAndZoom(new BMap.Point(116.404, 39.915), 11);
var myKeys = ["酒店"];
var local = new BMap.LocalSearch(map, {
  renderOptions:{map: map, panel:"results"}
});
local.setPageCapacity(15);
local.searchInBounds(myKeys, map.getBounds());
</script>
